﻿namespace Sidvall.WorkItemManager.Workflow
{
	public class WorkItemRating
	{
		#region Business Members

		public string Description { get; set; }
		public WorkItemRatingType WorkItemRatingType { get; set; }

		#endregion
		#region Constructor

		public WorkItemRating()
			: this(WorkItemRatingType.Fair, string.Empty)
		{
		}

		public WorkItemRating(WorkItemRatingType workItemRatingType)
			: this(workItemRatingType, string.Empty)
		{
		}

		public WorkItemRating(WorkItemRatingType workItemRatingType, string description)
		{
			this.WorkItemRatingType = workItemRatingType;
			this.Description = description;
		}

		#endregion
	}
}
